package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yami.shop.bean.model.ProductPool;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品池Mapper
 */
@Mapper
public interface ProductPoolMapper extends BaseMapper<ProductPool> {
    /**
     * 分页查询商品池列表
     * @param page 分页参数
     * @param shopId 店铺ID
     * @param poolName 商品池名称
     * @return 分页结果
     */
    IPage<ProductPool> pageProductPool(Page<ProductPool> page, @Param("shopId") Long shopId, @Param("poolName") String poolName);
} 